home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 9825 / 9825.xpi / chrome / content / browser_overlay.xul next >
Extensible Markup Language  |  2009-07-24  |  4KB  |  93 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://smarterwiki/locale/smarterwiki.dtd">
  4.  
  5. <?xml-stylesheet href="chrome://smarterwiki/content/smarterwiki.css" type="text/css"?>
  6.  
  7. <overlay id="smarterwiki-overlay"
  8.     xmlns:html="http://www.w3.org/1999/xhtml"
  9.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.     
  11.     <stringbundleset id="stringbundleset">
  12.         <!--
  13.         For some reason the id must be exactly that or it will fail :(
  14.         -->
  15.         <stringbundle id="smarterwiki_strings" 
  16.                       src="chrome://smarterwiki/locale/strings.properties"/>
  17.     </stringbundleset>
  18.  
  19.     <!--
  20.     <script type="application/x-javascript"
  21.             src="chrome://smarterwiki/content/jquery-1.2.6.js"/>
  22.     
  23.     <script type="application/x-javascript"
  24.             src="chrome://smarterwiki/content/jquery-1.2.6.js"/>
  25.  
  26.     <script type="application/x-javascript"
  27.             src="chrome://smarterwiki/content/jquery-1.3.2.js"/>
  28.  
  29.     <script type="application/x-javascript"
  30.             src="chrome://smarterwiki/content/jquery.truncate-2.3.js"/>
  31.     -->
  32.     
  33.     <script type="application/x-javascript"
  34.             src="smarterwiki.js"/>
  35.     
  36.     <menupopup id="menu_ToolsPopup">
  37.         <menuitem label="&extension.name;"
  38.                   oncommand="SmarterWiki.showOptions();" 
  39.                   insertafter="devToolsSeparator"
  40.                   class="menuitem-iconic"
  41.                   image="chrome://smarterwiki/skin/smarterfox-logo-32x32.png"
  42.                   />
  43.         <!--
  44.                   insertafter="menu_openAddons"
  45.         -->
  46.     </menupopup>
  47.  
  48.     <popup id="contentAreaContextMenu">
  49.         <menuitem id="smarterwiki-download-media"
  50.               label="&contextMenu.downloadPageMedia;"
  51.               oncommand="SmarterWiki.doDownloadPageMedia()"
  52.               insertbefore="context-searchselect"
  53.               class="menuitem-iconic"
  54.               image="chrome://smarterwiki/skin/smarterfox-logo-32x32.png"
  55.               />
  56.         <menuitem id="smarterwiki-download-links"
  57.                   label="&contextMenu.downloadPageLinks;"
  58.                   oncommand="SmarterWiki.doDownloadPageLinks()"
  59.                   insertbefore="context-searchselect"
  60.                   class="menuitem-iconic"
  61.                   image="chrome://smarterwiki/skin/smarterfox-logo-32x32.png"
  62.                   />
  63.         <menuitem id="smarterwiki-download-images"
  64.                   label="&contextMenu.downloadPageImages;"
  65.                   oncommand="SmarterWiki.doDownloadPageImages()"
  66.                   insertbefore="context-searchselect"
  67.                   class="menuitem-iconic"
  68.                   image="chrome://smarterwiki/skin/smarterfox-logo-32x32.png"
  69.                   />
  70.         <menuitem id="smarterwiki-download-selection"
  71.                   label="&contextMenu.downloadSelection;"
  72.                   oncommand="SmarterWiki.doDownloadSelection()"
  73.                   insertbefore="context-searchselect"
  74.                   class="menuitem-iconic"
  75.                   image="chrome://smarterwiki/skin/smarterfox-logo-32x32.png"
  76.                   />
  77.         <menuitem id="smarterwiki-remove-selection"
  78.                   label="&contextMenu.removeSelection;"
  79.                   oncommand="SmarterWiki.doRemoveSelection()"
  80.                   insertbefore="context-searchselect"
  81.                   class="menuitem-iconic"
  82.                   image="chrome://smarterwiki/skin/smarterfox-logo-32x32.png"
  83.                   />
  84.  
  85.         <menuitem id="smarterwiki-search-selection" 
  86.                   label="&contextMenu.searchWikipedia;"
  87.                   oncommand="SmarterWiki.doSearchSelection()"
  88.                   insertbefore="context-searchselect"
  89.                   class="menuitem-iconic"
  90.                   image="chrome://smarterwiki/skin/wikipedia.org-favicon.ico"
  91.                   />
  92.     </popup>
  93. </overlay>